package com.yunzhou.constants;

import lombok.Data;

// 常量类
@Data
public class Constants {
    // 登录相关
    // 登录 所需图片验证码
    public static final String LOGIN_IMAGE_CHECK_CODE = "login_image_check_code";

    // 注册相关
    // 注册 发送邮箱验证码 所需图片验证码
    public static final String REGISTER_SEND_EMAIL_IMAGE_CHECK_CODE = "register_send_email_image_check_code";
    // 注册 所需图片验证码
    public static final String REGISTER_IMAGE_CHECK_CODE = "register_image_check_code";

    // 重置密码相关
    // 重置密码 发送邮箱验证码 所需图片验证码
    public static final String RESET_PASSWORD_SEND_EMAIL_IMAGE_CHECK_CODE = "reset_password_send_email_image_check_code";
    // 重置密码 所需图片验证码
    public static final String RESET_PASSWORD_IMAGE_CHECK_CODE = "reset_password_image_check_code";

    // Minio相关
    // 用户头像的桶
    public static final String MINIO_USER_AVATAR_BUCKET_NAME = "user-avatar";
    // 文章中的图片的桶
    public static final String MINIO_ARTICLE_IMAGE_BUCKET_NAME = "article-image";
    // 文章封面
    public static final String MINIO_ARTICLE_COVER_IMAGE_BUCKET_NAME = "article-cover-image";
    // 文章附件
    public static final String MINIO_ARTICLE_ATTACHMENT_BUCKET_NAME = "article-attachment";
    // 评论图片
    public static final String MINIO_COMMENT_IMAGE_BUCKET_NAME = "comment-image";

}
